<div class="border d-flex justify-content-center">
  <h3>Login</h3>
</div>

<div class="container-fluid">
  <form method="POST" action="<%%= url_for :action => :do_login %>">
    <%% if @msg %>
    <div class="alert alert-warning mt-1"><%%= @msg %></div>
    <%% end %>

    <div class="form-group">
      <label for="login">Login</label>
      <input type="text" id="login" name="login" <%%= placeholder("Login") %> class="form-control" />
    </div>

    <div class="form-group">
      <label for="password">Password</label>
      <input type="password" id="password" name="password" <%%= placeholder("Password") %> class="form-control" />
    </div>

   <button type="submit" class="btn btn-success btn-block">Login</button>
  </form>

</div>
